Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Data Namespace / IValueConverter<T> Interface / Convert Method
The value produced by the binding source.
The converter parameter to use.


In This Topic
    Convert Method (IValueConverter<T>)
    In This Topic
    Converts a value.
    Syntax
    'Declaration
     
    
    Function Convert( _
       ByVal value As Object, _
       ByVal parameter As Object _
    ) As T
    'Usage
     
    
    Dim instance As IValueConverter(Of T)
    Dim value As Object
    Dim parameter As Object
    Dim value As T
     
    value = instance.Convert(value, parameter)
    T Convert( 
       object value,
       object parameter
    )

    Parameters

    value
    The value produced by the binding source.
    parameter
    The converter parameter to use.

    Return Value

    A converted value. If the method returns null, the valid null value is used.
    Remarks
    The data binding engine calls this method when it propagates a value from the binding source to the binding target.
    See Also